home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 1999 #9 / 1999 CD 9 (black).iso / blokwork / Setup.exe / SETUPMN.DLL / 0 / RCDATA / TRICHTEXTEDITPROPFM / TRICHTEXTEDITPROPFM.txt
Encoding:
Text File  |  1998-07-23  |  10.4 KB  |  308 lines

  1. object RichTextEditPropFm: TRichTextEditPropFm
  2.   Left = 293
  3.   Top = 230
  4.   BorderIcons = [biSystemMenu]
  5.   BorderStyle = bsToolWindow
  6.   Caption = 'Rich text editor'
  7.   ClientHeight = 273
  8.   ClientWidth = 468
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = []
  13.   Menu = MainMn
  14.   Position = poScreenCenter
  15.   OnCreate = FormCreate
  16.   PixelsPerInch = 96
  17.   TextHeight = 13
  18.   object ToolBarPn: TPanel
  19.     Left = 0
  20.     Top = 0
  21.     Width = 468
  22.     Height = 32
  23.     Align = alTop
  24.     BevelOuter = bvNone
  25.     TabOrder = 1
  26.     object BoldSb: TSpeedButton
  27.       Left = 242
  28.       Top = 4
  29.       Width = 23
  30.       Height = 23
  31.       AllowAllUp = True
  32.       GroupIndex = 10
  33.       Glyph.Data = {
  34.         F6000000424DF600000000000000760000002800000010000000100000000100
  35.         0400000000008000000000000000000000000000000000000000000000000000
  36.         80000080000000808000800000008000800080800000C0C0C000808080000000
  37.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  38.         7777777777777777777777777777777777777777777777777777777700000000
  39.         7777777770007700077777777000770007777777700077000777777770000000
  40.         7777777770007700077777777000770007777777700077000777777700000000
  41.         7777777777777777777777777777777777777777777777777777}
  42.       OnClick = BoldSbClick
  43.     end
  44.     object ItalicSb: TSpeedButton
  45.       Left = 265
  46.       Top = 4
  47.       Width = 24
  48.       Height = 23
  49.       AllowAllUp = True
  50.       GroupIndex = 11
  51.       Glyph.Data = {
  52.         F6000000424DF600000000000000760000002800000010000000100000000100
  53.         0400000000008000000000000000000000000000000000000000000000000000
  54.         80000080000000808000800000008000800080800000C0C0C000808080000000
  55.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  56.         7777777777777777777777777777777777777777777777777777770000007777
  57.         7777777700077777777777777000777777777777770007777777777777700077
  58.         7777777777770007777777777777700077777777777777000777777777777000
  59.         0007777777777777777777777777777777777777777777777777}
  60.       OnClick = ItalicSbClick
  61.     end
  62.     object UnderlineSb: TSpeedButton
  63.       Left = 289
  64.       Top = 4
  65.       Width = 23
  66.       Height = 23
  67.       AllowAllUp = True
  68.       GroupIndex = 12
  69.       Glyph.Data = {
  70.         F6000000424DF600000000000000760000002800000010000000100000000100
  71.         0400000000008000000000000000000000000000000000000000000000000000
  72.         80000080000000808000800000008000800080800000C0C0C000808080000000
  73.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  74.         7777777777777777777777770000000007777777777777777777777777000007
  75.         7777777770077700777777777007770077777777700777007777777770077700
  76.         7777777770077700777777777007770077777777700777007777777700007000
  77.         0777777777777777777777777777777777777777777777777777}
  78.       OnClick = UnderlineSbClick
  79.     end
  80.     object LeftAlignSb: TSpeedButton
  81.       Left = 362
  82.       Top = 4
  83.       Width = 23
  84.       Height = 23
  85.       GroupIndex = 20
  86.       Glyph.Data = {
  87.         F6000000424DF600000000000000760000002800000010000000100000000100
  88.         0400000000008000000000000000000000000000000000000000000000000000
  89.         80000080000000808000800000008000800080800000C0C0C000808080000000
  90.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  91.         7777777777777777777777777777777777777700000000000777777777777777
  92.         7777770000000077777777777777777777777700000000000777777777777777
  93.         7777770000000077777777777777777777777700000000000777777777777777
  94.         7777770000000077777777777777777777777777777777777777}
  95.       OnClick = LeftAlignSbClick
  96.     end
  97.     object CenterAlignSb: TSpeedButton
  98.       Left = 385
  99.       Top = 4
  100.       Width = 23
  101.       Height = 23
  102.       GroupIndex = 20
  103.       Glyph.Data = {
  104.         F6000000424DF600000000000000760000002800000010000000100000000100
  105.         0400000000008000000000000000000000000000000000000000000000000000
  106.         80000080000000808000800000008000800080800000C0C0C000808080000000
  107.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  108.         7777777777777777777777777777777777777700000000000777777777777777
  109.         7777777770000077777777777777777777777700000000000777777777777777
  110.         7777777700000007777777777777777777777700000000000777777777777777
  111.         7777777770000077777777777777777777777777777777777777}
  112.       OnClick = CenterAlignSbClick
  113.     end
  114.     object RightAlignSb: TSpeedButton
  115.       Left = 408
  116.       Top = 4
  117.       Width = 23
  118.       Height = 23
  119.       GroupIndex = 20
  120.       Glyph.Data = {
  121.         F6000000424DF600000000000000760000002800000010000000100000000100
  122.         0400000000008000000000000000000000000000000000000000000000000000
  123.         80000080000000808000800000008000800080800000C0C0C000808080000000
  124.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  125.         7777777777777777777777777777777777777700000000000777777777777777
  126.         7777777770000000077777777777777777777700000000000777777777777777
  127.         7777777770000000077777777777777777777700000000000777777777777777
  128.         7777777770000000077777777777777777777777777777777777}
  129.       OnClick = RightAlignSbClick
  130.     end
  131.     object BulletSb: TSpeedButton
  132.       Left = 438
  133.       Top = 4
  134.       Width = 23
  135.       Height = 23
  136.       AllowAllUp = True
  137.       GroupIndex = 30
  138.       Glyph.Data = {
  139.         F6000000424DF600000000000000760000002800000010000000100000000100
  140.         0400000000008000000000000000000000000000000000000000000000000000
  141.         80000080000000808000800000008000800080800000C0C0C000808080000000
  142.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  143.         7777777777777777777774447777777777777444770000000077744477777777
  144.         7777777777777777777777777777777777777444777777777777744477000000
  145.         0077744477777777777777777777777777777777777777777777744477777777
  146.         7777744477000000007774447777777777777777777777777777}
  147.       OnClick = BulletSbClick
  148.     end
  149.     object OpenSb: TSpeedButton
  150.       Left = 8
  151.       Top = 4
  152.       Width = 23
  153.       Height = 23
  154.       Glyph.Data = {
  155.         F6000000424DF600000000000000760000002800000010000000100000000100
  156.         0400000000008000000000000000000000000000000000000000000000000000
  157.         80000080000000808000800000008000800080800000C0C0C000808080000000
  158.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  159.         77777777777777777777000000000007777700333333333077770B0333333333
  160.         07770FBF3333333330770BFB0333333333070FBFB000000000000BFBFBFBFB07
  161.         77770FBFBFBFBF0777770BFB0000000777777000777777770007777777777777
  162.         7007777777770777070777777777700077777777777777777777}
  163.       OnClick = OpenSbClick
  164.     end
  165.     object SaveSb: TSpeedButton
  166.       Left = 31
  167.       Top = 4
  168.       Width = 23
  169.       Height = 23
  170.       Glyph.Data = {
  171.         F6000000424DF600000000000000760000002800000010000000100000000100
  172.         0400000000008000000000000000000000000000000000000000000000000000
  173.         80000080000000808000800000008000800080800000C0C0C000808080000000
  174.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
  175.         7777770000000000000770330000007703077033000000770307703300000077
  176.         0307703300000000030770333333333333077033000000003307703077777777
  177.         0307703077777777030770307777777703077030777777770307703077777777
  178.         0007703077777777070770000000000000077777777777777777}
  179.       OnClick = SaveSbClick
  180.     end
  181.     object FontNameCb: TComboBox
  182.       Left = 64
  183.       Top = 5
  184.       Width = 117
  185.       Height = 21
  186.       Style = csDropDownList
  187.       ItemHeight = 13
  188.       Sorted = True
  189.       TabOrder = 0
  190.       OnChange = FontNameCbChange
  191.       OnKeyPress = FontAndColorNameCbKeyPress
  192.     end
  193.     object FontSizeCb: TComboBox
  194.       Left = 188
  195.       Top = 5
  196.       Width = 45
  197.       Height = 21
  198.       ItemHeight = 13
  199.       TabOrder = 1
  200.       OnClick = FontSizeCbClick
  201.       OnExit = FontSizeCbClick
  202.       OnKeyPress = FontSizeCbKeyPress
  203.     end
  204.     object FontColorCb: TComboBox
  205.       Left = 320
  206.       Top = 5
  207.       Width = 34
  208.       Height = 22
  209.       Style = csOwnerDrawFixed
  210.       DropDownCount = 17
  211.       Font.Color = clWindowText
  212.       Font.Height = -8
  213.       Font.Name = 'MS Sans Serif'
  214.       Font.Style = [fsBold]
  215.       ItemHeight = 16
  216.       ParentFont = False
  217.       TabOrder = 2
  218.       OnChange = FontColorCbChange
  219.       OnDrawItem = FontColorCbDrawItem
  220.       OnKeyPress = FontAndColorNameCbKeyPress
  221.     end
  222.   end
  223.   object MainRe: TEPRichEdit
  224.     Left = 8
  225.     Top = 32
  226.     Width = 453
  227.     Height = 201
  228.     HideSelection = False
  229.     HideScrollBars = False
  230.     ScrollBars = ssBoth
  231.     TabOrder = 0
  232.     WantTabs = True
  233.     OnKeyDown = MainReKeyDown
  234.     OnSelectionChange = MainReSelectionChange
  235.     RichTextEx = {
  236.       7B5C727466315C616E73695C64656666305C6465667461623732307B5C666F6E
  237.       7474626C7B5C66305C666E696C204D532053616E732053657269663B7D7B5C66
  238.       315C666E696C5C6663686172736574322053796D626F6C3B7D7B5C66325C6673
  239.       776973735C66707271322053797374656D3B7D7B5C66335C667377697373204D
  240.       532053616E732053657269663B7D7D0D0A7B5C636F6C6F7274626C5C72656430
  241.       5C677265656E305C626C7565303B7D0D0A5C6465666C616E67313033335C7061
  242.       72645C706C61696E5C66335C66733136200D0A5C706172207D0D0A00}
  243.   end
  244.   object OKBt: TButton
  245.     Left = 304
  246.     Top = 244
  247.     Width = 75
  248.     Height = 23
  249.     Caption = 'OK'
  250.     ModalResult = 1
  251.     TabOrder = 2
  252.   end
  253.   object CancelBt: TButton
  254.     Left = 386
  255.     Top = 244
  256.     Width = 75
  257.     Height = 23
  258.     Cancel = True
  259.     Caption = 'Cancel'
  260.     ModalResult = 2
  261.     TabOrder = 3
  262.   end
  263.   object OpenDg: TOpenDialog
  264.     DefaultExt = '*.rtf'
  265.     FileEditStyle = fsEdit
  266.     Filter = 
  267.       'Rich Text Files (*.RTF)|*.RTF|Text Files (*.TXT)|*.TXT|All Files' +
  268.       ' (*.*)|*.*'
  269.     Options = [ofHideReadOnly, ofNoChangeDir, ofPathMustExist, ofFileMustExist]
  270.     Left = 12
  271.     Top = 40
  272.   end
  273.   object SaveDg: TSaveDialog
  274.     DefaultExt = '*.rtf'
  275.     FileEditStyle = fsEdit
  276.     Filter = 
  277.       'Rich Text Files (*.RTF)|*.RTF|Text Files (*.TXT)|*.TXT|All Files' +
  278.       ' (*.*)|*.*'
  279.     Options = [ofOverwritePrompt, ofHideReadOnly, ofNoChangeDir, ofPathMustExist]
  280.     Left = 12
  281.     Top = 72
  282.   end
  283.   object MainMn: TMainMenu
  284.     Left = 4
  285.     Top = 240
  286.     object EditMn: TMenuItem
  287.       Caption = 'Edit'
  288.       ShortCut = 0
  289.       Visible = False
  290.       object BoldMn: TMenuItem
  291.         Caption = 'Bold'
  292.         ShortCut = 16450
  293.         OnClick = BoldMnClick
  294.       end
  295.       object ItalicMn: TMenuItem
  296.         Caption = 'Italic'
  297.         ShortCut = 16457
  298.         OnClick = ItalicMnClick
  299.       end
  300.       object UnderlineMn: TMenuItem
  301.         Caption = 'Underline'
  302.         ShortCut = 16469
  303.         OnClick = UnderlineMnClick
  304.       end
  305.     end
  306.   end
  307. end
  308.